from django.urls import path

from account.apis import user as user_api
from account.apis import setting as setting_api


urlpatterns = [
    path('user/', user_api.UserApi.as_view()),
    path('user/next/', user_api.NextUserApi.as_view()),
    path('user/account/type/', user_api.UserAccountTypeApi.as_view()),
    path('user/task/', user_api.UserTaskApi.as_view()),
    path('user/exists/', user_api.ExistsUserApi.as_view()),
    path('user/base/info/', user_api.UserBaseInfoApi.as_view()),
    path('user/list/', user_api.ListUserApi.as_view()),
    path('user/list/run/', user_api.RunUsersApi.as_view()),
    path('user/list/stop/', user_api.StopUsersApi.as_view()),
    path('user/create/', user_api.CreateUserApi.as_view()),
    path('user/create/batch/', user_api.BatchCreateUserApi.as_view()),
    path('user/update/', user_api.UpdateUserApi.as_view()),
    path('user/delete/', user_api.DeleteUserApi.as_view()),
    path('user/sync/', user_api.SyncUserApi.as_view()),
    path('user/status/sync/', user_api.SyncUserStatusApi.as_view()),
    path('user/export/', user_api.ExportUserApi.as_view()),
    path('user/import/', user_api.ImportUserApi.as_view()),
    path('user/statistics/', user_api.StatisticsApi.as_view()),
    path('script/create/', user_api.CreateScriptApi.as_view()),
    path('script/update/', user_api.UpdateScriptApi.as_view()),
    path('script/delete/', user_api.DeleteScriptApi.as_view()),
    path('script/list/', user_api.ListScriptApi.as_view()),
    path('script/', user_api.ScriptApi.as_view()),
    path('setting/create/', setting_api.CreateSettingApi.as_view()),
    path('setting/update/', setting_api.UpdateSettingApi.as_view()),
    path('setting/delete/', setting_api.DeleteSettingApi.as_view()),
    path('setting/list/', setting_api.ListSettingApi.as_view()),
    path('setting/', setting_api.SettingApi.as_view()),
    path('duty/create/', user_api.CreateDutyApi.as_view()),
    path('duty/', user_api.DutyApi.as_view()),
]
